package com.salelogistics.basic.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.salelogistics.common.core.annotation.Excel;
import com.salelogistics.common.core.web.domain.BaseEntity;

/**
 * 线路对象 bas_routes
 *
 * @author ruoyi
 * @date 2023-07-09
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BasRoutes extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 线路ID
     */
    private Long routeId;

    private Long projectId;

    /**
     * 线路名称
     */
    @Excel(name = "线路名称")
    private String routeName;

    /**
     * 起点
     */
    @Excel(name = "起点")
    private String startLocation;

    /**
     * 终点
     */
    @Excel(name = "终点")
    private String endLocation;

    /**
     * 最近一次修改人
     */
    private String editedBy;

    /**
     * 最近一次修改时间
     */
    private String editedTime;

    /**
     * 启用状态
     */
    private Long status;

    /**
     * 删除状态
     */
    private Long isDeleted;

    public void setRouteId(Long routeId) {
        this.routeId = routeId;
    }

    public Long getRouteId() {
        return routeId;
    }

    public void setRouteName(String routeName) {
        this.routeName = routeName;
    }

    public String getRouteName() {
        return routeName;
    }

    public void setStartLocation(String startLocation) {
        this.startLocation = startLocation;
    }

    public String getStartLocation() {
        return startLocation;
    }

    public void setEndLocation(String endLocation) {
        this.endLocation = endLocation;
    }

    public String getEndLocation() {
        return endLocation;
    }

    public void setEditedBy(String editedBy) {
        this.editedBy = editedBy;
    }

    public String getEditedBy() {
        return editedBy;
    }

    public void setEditedTime(String editedTime) {
        this.editedTime = editedTime;
    }

    public String getEditedTime() {
        return editedTime;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Long getStatus() {
        return status;
    }

    public void setIsDeleted(Long isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() {
        return isDeleted;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("routeId", getRouteId())
                .append("projectId", getProjectId())
                .append("routeName", getRouteName())
                .append("startLocation", getStartLocation())
                .append("endLocation", getEndLocation())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("editedBy", getEditedBy())
                .append("editedTime", getEditedTime())
                .append("status", getStatus())
                .append("isDeleted", getIsDeleted())
                .toString();
    }
}
